#ifndef		IA_HH__
# define	IA_HH__

# include	<iostream>
# include	"Socket.hh"
# include	"Rules.hh"
# include	<cstdlib>
# include	<cstring>

static const std::string	DISCOVER = "CONNECT CLIENT\n";

class		IA
{
public:
  IA(char *, int);
  ~IA();
  bool		discoverServer(void);
private:
  char		*inBuffer;
  Rules		rules;
  Socket	socket;
};

#endif		/* !IA_HH__ */
